package siebje.mobi.android;

public class Player 
{
	enum Wind
	{
		EAST,
		SOUTH,
		WEST,
		NORTH
	}
	
	private String name = null;
	private int score = 0;
	private Wind ownWind = null;
	
	private Player()
	{
		super();
	}
	
	public Player(String name)
	{
		this();
		this.name = name;
		this.score = 0;
	}
	
	public Player(String name, Wind ownWind)
	{
		this();
		this.name = name;
		this.score = 0;
		this.ownWind = ownWind;
	}
	
	public Player(String name, Wind ownWind, int score)
	{
		this();
		this.name = name;
		this.ownWind = ownWind;
		this.score = score;
	}
	
	public String getName()
	{
		return this.name;
	}
	
	public Wind getWind()
	{
		return ownWind;
	}
	
	public void setWind(Wind wind)
	{
		ownWind = wind;
	}
	
	public void addScore(int score)
	{
		this.score += score;
	}
	
	public void setScore(int score)
	{
		this.score = score;
	}
	
	public int getScore()
	{
		return this.score;
	}
}
